package cn.iocoder.yudao.module.resource.api;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.module.resource.api.enums.UserTimeTransactionTypeEnum;
import cn.iocoder.yudao.module.resource.api.model.usertimetransaction.UserTimeTransactionDTO;
import cn.iocoder.yudao.module.resource.api.model.usertimetransaction.UserTimeTransactionPageReqDTO;

import java.util.List;

public interface IUserTimeTransactionApi {

    UserTimeTransactionDTO getUserTimeTransaction(Long userId, String id);

    PageResult<UserTimeTransactionDTO> getUserTimeTransactionPage(UserTimeTransactionPageReqDTO pageReqVO);

    List<UserTimeTransactionDTO> getUserTimeTransactionByType(Long userId, UserTimeTransactionTypeEnum transactionType);

    Boolean hasUserTimeTransactionByType(Long userId, UserTimeTransactionTypeEnum transactionType);

}
